// 全局常量配置
export const APP_CONFIG = {
  name: "校园平台",
  version: "1.0.0",
  apiBaseUrl:
    process.env.NODE_ENV === "production"
      ? "/api"
      : "http://localhost:3000/api",
};

// 帖子分类
export const POST_CATEGORIES = {
  discussion: "讨论",
  help: "求助",
  share: "分享",
  trade: "交易",
} as const;

// 活动状态
export const ACTIVITY_STATUS = {
  upcoming: "即将开始",
  ongoing: "进行中",
  ended: "已结束",
} as const;

// 商品状态
export const PRODUCT_STATUS = {
  available: "可购买",
  sold: "已售出",
  reserved: "已预订",
} as const;

// 用户角色
export const USER_ROLES = {
  student: "学生",
  teacher: "教师",
  admin: "管理员",
} as const;
